home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue51 / Construc / Midas_TLB.pas < prev    next >
Pascal/Delphi Source File  |  1999-09-24  |  7KB  |  111 lines

  1. unit Midas_TLB;
  2.  
  3. // ************************************************************************ //
  4. // WARNING                                                                    
  5. // -------                                                                    
  6. // The types declared in this file were generated from data read from a       
  7. // Type Library. If this type library is explicitly or indirectly (via        
  8. // another type library referring to this type library) re-imported, or the   
  9. // 'Refresh' command of the Type Library Editor activated while editing the   
  10. // Type Library, the contents of this file will be regenerated and all        
  11. // manual modifications will be lost.                                         
  12. // ************************************************************************ //
  13.  
  14. // PASTLWTR : $Revision:   1.88  $
  15. // File generated on 1999/09/24 14:52:58 from Type Library described below.
  16.  
  17. // *************************************************************************//
  18. // NOTE:                                                                      
  19. // Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties  
  20. // which return objects that may need to be explicitly created via a function 
  21. // call prior to any access via the property. These items have been disabled  
  22. // in order to prevent accidental use from within the object inspector. You   
  23. // may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively   
  24. // removing them from the $IFDEF blocks. However, such items must still be    
  25. // programmatically created via a method of the appropriate CoClass before    
  26. // they can be used.                                                          
  27. // ************************************************************************ //
  28. // Type Lib: C:\WINNT\System32\midas.dll (1)
  29. // IID\LCID: {83F57D68-CA9A-11D2-9088-00C04FA35CFA}\0
  30. // Helpfile: 
  31. // DepndLst: 
  32. //   (1) v2.0 stdole, (C:\WINNT\System32\STDOLE2.TLB)
  33. // Parent TypeLibrary:
  34. //   (0) v1.0 Server51, (D:\usr\bob\magazine\DELPHI.MAG\#51\src\Server51.tlb)
  35. // ************************************************************************ //
  36. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
  37. interface
  38.  
  39. uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
  40.  
  41. // *********************************************************************//
  42. // GUIDS declared in the TypeLibrary. Following prefixes are used:        
  43. //   Type Libraries     : LIBID_xxxx                                      
  44. //   CoClasses          : CLASS_xxxx                                      
  45. //   DISPInterfaces     : DIID_xxxx                                       
  46. //   Non-DISP interfaces: IID_xxxx                                        
  47. // *********************************************************************//
  48. const
  49.   // TypeLibrary Major and minor versions
  50.   MidasMajorVersion = 1;
  51.   MidasMinorVersion = 0;
  52.  
  53.   LIBID_Midas: TGUID = '{83F57D68-CA9A-11D2-9088-00C04FA35CFA}';
  54.  
  55.   IID_IAppServer: TGUID = '{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}';
  56. type
  57.  
  58. // *********************************************************************//
  59. // Forward declaration of types defined in TypeLibrary                    
  60. // *********************************************************************//
  61.   IAppServer = interface;
  62.   IAppServerDisp = dispinterface;
  63.  
  64. // *********************************************************************//
  65. // Interface: IAppServer
  66. // Flags:     (4416) Dual OleAutomation Dispatchable
  67. // GUID:      {1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}
  68. // *********************************************************************//
  69.   IAppServer = interface(IDispatch)
  70.     ['{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}']
  71.     function  AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; 
  72.                               MaxErrors: Integer; out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; safecall;
  73.     function  AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer; 
  74.                             Options: Integer; const CommandText: WideString; 
  75.                             var Params: OleVariant; var OwnerData: OleVariant): OleVariant; safecall;
  76.     function  AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; safecall;
  77.     function  AS_GetProviderNames: OleVariant; safecall;
  78.     function  AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; safecall;
  79.     function  AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer; 
  80.                             var OwnerData: OleVariant): OleVariant; safecall;
  81.     procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString; 
  82.                          var Params: OleVariant; var OwnerData: OleVariant); safecall;
  83.   end;
  84.  
  85. // *********************************************************************//
  86. // DispIntf:  IAppServerDisp
  87. // Flags:     (4416) Dual OleAutomation Dispatchable
  88. // GUID:      {1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}
  89. // *********************************************************************//
  90.   IAppServerDisp = dispinterface
  91.     ['{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}']
  92.     function  AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; 
  93.                               MaxErrors: Integer; out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; dispid 20000000;
  94.     function  AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer; 
  95.                             Options: Integer; const CommandText: WideString; 
  96.                             var Params: OleVariant; var OwnerData: OleVariant): OleVariant; dispid 20000001;
  97.     function  AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; dispid 20000002;
  98.     function  AS_GetProviderNames: OleVariant; dispid 20000003;
  99.     function  AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; dispid 20000004;
  100.     function  AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer; 
  101.                             var OwnerData: OleVariant): OleVariant; dispid 20000005;
  102.     procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString; 
  103.                          var Params: OleVariant; var OwnerData: OleVariant); dispid 20000006;
  104.   end;
  105.  
  106. implementation
  107.  
  108. uses ComObj;
  109.  
  110. end.
  111.